<script src="../js/jquery-1.7.2.js"></script>
<script src="../js/common/tool.js"></script>
<script type="text/javascript">

var host = 'http://'+ getHost()+':'+'8088'; //在全局 定义tomcat端口，用户访问服务器后台管理
var urls = host+'/hxclub/admin/home.do'

$(function(){
	var bool = host.indexOf("sec-hxi"); /*返回大于等于0的整数值，若不包含"Text"则返回"-1*/
	if(bool>0){
		//document.write("包含字符串");
		urls = 'http://'+ getHost()+':'+'8088'+'/hxclub/admin/home.do'
	}else{
		urls = 'http://'+ getHost()+':'+'8080'+'/hxclub/admin/home.do'
	}
	window.location.href = urls;
})
</script>